﻿//-----------------------------------------------------------------------------------
// <copyright file="MsgReadTime.cs" company="Go Enterprises">
// * copyright: (C) 2018 公司名称 版权所有。
// * version  : 1.0.0.0
// * author   : Mr.King
// * fileName : MsgReadTime.cs
// * history  : created by Mr.King 2024-11-26 18:34:56
// </copyright>
//-----------------------------------------------------------------------------------

using System;
using System.Runtime.Serialization;
using XLLCDP.ScalableDataModel.DBMapAttribute;

namespace ImModels.Service.Models.Data
{
    /// <summary>
    /// MsgReadTime 群消息阅读时间
    /// </summary>
    public class MsgReadTime
    {
        /// <summary>
        /// 消息ID
        /// </summary>
        public long MsgId { get; set; } = 0;

        /// <summary>
        /// 用户ID
        /// </summary>
        public string BizUserId { get; set; } = "";

        /// <summary>
        /// 消息发送时间
        /// </summary>
        public DateTime SendTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 阅读时间 阅读时间,空未读
        /// </summary>
        public string ReadTime { get; set; } = "";

        /// <summary>
        /// 用户名称 数据库无此字段 查询消息的时候 业务补充
        /// </summary>
        [XLDbColumn(IsIgnore = true)]
        public string Name { get; set; } = "";


        /*BC47A26EB9A59406057DDDD62D0898F4*/
    }
}
